package com.schooleducation.dao;

import com.schooleducation.entity.ExamDicType;
import com.schooleducation.entity.ExamDictinoary;
import com.schooleducation.entity.Exams;
import com.schooleducation.entity.Lesson;
import com.schooleducation.entity.LessonComment;
import com.schooleducation.entity.LessonContent;
import com.schooleducation.entity.LessonContentInfo;
import com.schooleducation.entity.LessonInfo;
import com.schooleducation.entity.LessonOneType;
import com.schooleducation.entity.LessonReply;
import com.schooleducation.entity.LessonSubscribe;
import com.schooleducation.entity.LessonTwoType;
import com.schooleducation.entity.ResourceDown;
import com.schooleducation.entity.StuDepartment;
import com.schooleducation.entity.StuMajor;
import com.schooleducation.entity.User;
import com.schooleducation.entity.UserInfo;
import com.schooleducation.entity.UserRoles;

/**
 * dao层工厂类
 * @author weijing
 *
 */
public class DaoFactory {

	private UserDao<User, Integer> userDao;
	private UserInfoDao<UserInfo, Integer> userInfoDao;
	private UserRolesDao<UserRoles, Integer> userRolesDao;
	private StuDepartmentDao<StuDepartment, Integer> stuDepartmentDao;
	private StuMajorDao<StuMajor, Integer> stuMajorDao;
	private LessonOneTypeDao<LessonOneType, Integer> lessonOneTypeDao;
	private LessonTwoTypeDao<LessonTwoType, Integer> lessonTwoTypeDao;
	private LessonDao<Lesson, Integer> lessonDao;
	private LessonSubscribeDao<LessonSubscribe, Integer> lessonSubscribeDao;
	private LessonContentDao<LessonContent, Integer> lessonContentDao;
	private LessonContentInfoDao<LessonContentInfo, Integer> lessonContentInfoDao;
	private LessonCommentDao<LessonComment, Integer> lessonCommentDao;
	private LessonReplyDao<LessonReply, Integer> lessonReplyDao;
	private LessonInfoDao<LessonInfo, Integer> lessonInfoDao;
	private ExamDictinoaryDao<ExamDictinoary, Integer> examDictinoaryDao;
	private ExamDicTypeDao<ExamDicType, Integer> examDicTypeDao;
	private ResourceDownDao<ResourceDown, Integer> resouceDownDao;
	private ExamsDao<Exams, Integer> examsDao;


	public ResourceDownDao<ResourceDown, Integer> getResouceDownDao() {
		return resouceDownDao;
	}

	public void setResouceDownDao(ResourceDownDao<ResourceDown, Integer> resouceDownDao) {
		this.resouceDownDao = resouceDownDao;
	}

	public LessonInfoDao<LessonInfo, Integer> getLessonInfoDao() {
		return lessonInfoDao;
	}

	public void setLessonInfoDao(LessonInfoDao<LessonInfo, Integer> lessonInfoDao) {
		this.lessonInfoDao = lessonInfoDao;
	}

	public LessonReplyDao<LessonReply, Integer> getLessonReplyDao() {
		return lessonReplyDao;
	}

	public void setLessonReplyDao(LessonReplyDao<LessonReply, Integer> lessonReplyDao) {
		this.lessonReplyDao = lessonReplyDao;
	}

	public LessonCommentDao<LessonComment, Integer> getLessonCommentDao() {
		return lessonCommentDao;
	}

	public void setLessonCommentDao(LessonCommentDao<LessonComment, Integer> lessonCommentDao) {
		this.lessonCommentDao = lessonCommentDao;
	}

	public LessonContentInfoDao<LessonContentInfo, Integer> getLessonContentInfoDao() {
		return lessonContentInfoDao;
	}

	public void setLessonContentInfoDao(LessonContentInfoDao<LessonContentInfo, Integer> lessonContentInfoDao) {
		this.lessonContentInfoDao = lessonContentInfoDao;
	}

	public LessonContentDao<LessonContent, Integer> getLessonContentDao() {
		return lessonContentDao;
	}

	public void setLessonContentDao(LessonContentDao<LessonContent, Integer> lessonContentDao) {
		this.lessonContentDao = lessonContentDao;
	}

	public LessonSubscribeDao<LessonSubscribe, Integer> getLessonSubscribeDao() {
		return lessonSubscribeDao;
	}

	public void setLessonSubscribeDao(LessonSubscribeDao<LessonSubscribe, Integer> lessonSubscribeDao) {
		this.lessonSubscribeDao = lessonSubscribeDao;
	}

	public LessonDao<Lesson, Integer> getLessonDao() {
		return lessonDao;
	}

	public void setLessonDao(LessonDao<Lesson, Integer> lessonDao) {
		this.lessonDao = lessonDao;
	}

	public LessonTwoTypeDao<LessonTwoType, Integer> getLessonTwoTypeDao() {
		return lessonTwoTypeDao;
	}

	public void setLessonTwoTypeDao(LessonTwoTypeDao<LessonTwoType, Integer> lessonTwoTypeDao) {
		this.lessonTwoTypeDao = lessonTwoTypeDao;
	}

	public LessonOneTypeDao<LessonOneType, Integer> getLessonOneTypeDao() {
		return lessonOneTypeDao;
	}

	public void setLessonOneTypeDao(LessonOneTypeDao<LessonOneType, Integer> lessonOneTypeDao) {
		this.lessonOneTypeDao = lessonOneTypeDao;
	}

	public StuMajorDao<StuMajor, Integer> getStuMajorDao() {
		return stuMajorDao;
	}

	public void setStuMajorDao(StuMajorDao<StuMajor, Integer> stuMajorDao) {
		this.stuMajorDao = stuMajorDao;
	}

	public StuDepartmentDao<StuDepartment, Integer> getStuDepartmentDao() {
		return stuDepartmentDao;
	}

	public void setStuDepartmentDao(StuDepartmentDao<StuDepartment, Integer> stuDepartmentDao) {
		this.stuDepartmentDao = stuDepartmentDao;
	}

	public UserRolesDao<UserRoles, Integer> getUserRolesDao() {
		return userRolesDao;
	}

	public void setUserRolesDao(UserRolesDao<UserRoles, Integer> userRolesDao) {
		this.userRolesDao = userRolesDao;
	}

	public UserInfoDao<UserInfo, Integer> getUserInfoDao() {
		return userInfoDao;
	}

	public void setUserInfoDao(UserInfoDao<UserInfo, Integer> userInfoDao) {
		this.userInfoDao = userInfoDao;
	}

	public UserDao<User, Integer> getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao<User, Integer> userDao) {
		this.userDao = userDao;
	}

	public ExamDictinoaryDao<ExamDictinoary, Integer> getExamDictinoaryDao() {
		return examDictinoaryDao;
	}

	public void setExamDictinoaryDao(ExamDictinoaryDao<ExamDictinoary, Integer> examDictinoaryDao) {
		this.examDictinoaryDao = examDictinoaryDao;
	}

	public ExamDicTypeDao<ExamDicType, Integer> getExamDicTypeDao() {
		return examDicTypeDao;
	}

	public void setExamDicTypeDao(ExamDicTypeDao<ExamDicType, Integer> examDicTypeDao) {
		this.examDicTypeDao = examDicTypeDao;
	}
	
	public ExamsDao<Exams, Integer> getExamsDao() {
		return examsDao;
	}

	public void setExamsDao(ExamsDao<Exams, Integer> examsDao) {
		this.examsDao = examsDao;
	}
	
}
